package com.zhangfei.order.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author zhangfei
 */
//这个扫描路径，解决以来的order-biz下的目录也可以扫描到
@SpringBootApplication(scanBasePackages ={"com.zhangfei.order"})

@EnableAspectJAutoProxy(exposeProxy = true)
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }
}
